package sealte.hvpms.dao;

import java.util.List;

import sealte.hvpms.pojo.Admin;

public interface AdminDAO {
	
	public String login(String name,String password);
	
	public Admin getAdminAll(String name,String password);
	
	public boolean addNew(String name,String password);
	
	public List<Admin> getAll();
	
	public boolean modifyPassword(int id,String password);
	
	public boolean modifyLevel(int id,String level);
	
	public String getNameByID(int id);
	
	public boolean deleteByID(int id);
	
	public boolean validatePassword(int id,String password);
	
	public boolean isNameExist(String name);
}
